gtk4.git
9 years agorecent-manager: Emit ::changed on file deletion
Emmanuele Bassi [Sun, 10 Apr 2016 17:28:01 +0000 (18:28 +0100)]
recent-manager: Emit ::changed on file deletion

This will clear out the list of recently used files, and will allow GVFS
to handle this case.

https://bugzilla.gnome.org/show_bug.cgi?id=693077

9 years agoAssign a recent manager if one is set
Emmanuele Bassi [Sun, 10 Apr 2016 16:51:58 +0000 (17:51 +0100)]
Assign a recent manager if one is set

The GtkRecentAction implementation ignored a GtkRecentManager passed to
its :manager property.

https://bugzilla.gnome.org/show_bug.cgi?id=620065

9 years agoapp: minor code improvements
Sébastien Wilmet [Sun, 10 Apr 2016 09:08:57 +0000 (11:08 +0200)]
app: minor code improvements

- use GDK_EVENT_PROPAGATE
- pass better zero-values to gtk_init(), since the parameters are
  pointers.

https://bugzilla.gnome.org/show_bug.cgi?id=764846

9 years agoapp: improve code of extract_accels_from_menu()
Sébastien Wilmet [Sun, 10 Apr 2016 10:41:09 +0000 (12:41 +0200)]
app: improve code of extract_accels_from_menu()

sub_model is clearer than "m". And we don't use the key, so we can pass
NULL instead.

https://bugzilla.gnome.org/show_bug.cgi?id=764846

9 years agoapp: use g_set_object()
Sébastien Wilmet [Sun, 10 Apr 2016 12:15:35 +0000 (14:15 +0200)]
app: use g_set_object()

https://bugzilla.gnome.org/show_bug.cgi?id=764846

9 years agoapp: don't use deprecated function
Sébastien Wilmet [Sun, 10 Apr 2016 10:28:14 +0000 (12:28 +0200)]
app: don't use deprecated function

gtk_application_add_accelerator() is deprecated, but was still used
inside IGNORE_DEPRECATIONS's.

https://bugzilla.gnome.org/show_bug.cgi?id=764846

9 years agoapp: improve doc of gtk_application_get_window_by_id()
Sébastien Wilmet [Sun, 10 Apr 2016 10:56:39 +0000 (12:56 +0200)]
app: improve doc of gtk_application_get_window_by_id()

https://bugzilla.gnome.org/show_bug.cgi?id=764846

9 years agoapp: improve doc of gtk_application_set_accels_for_action()
Sébastien Wilmet [Sat, 9 Apr 2016 15:42:12 +0000 (17:42 +0200)]
app: improve doc of gtk_application_set_accels_for_action()

When reading the API for the first time I didn't know what was the
"detailed" action name.

https://bugzilla.gnome.org/show_bug.cgi?id=764846

9 years agoapp: avoid code duplication for setting accels
Sébastien Wilmet [Sat, 9 Apr 2016 10:50:43 +0000 (12:50 +0200)]
app: avoid code duplication for setting accels

The implementation of the deprecated functions is now based on the
non-deprecated gtk_application_set_accels_for_action().

https://bugzilla.gnome.org/show_bug.cgi?id=764846

9 years agoFix gtk_scrollable_get_border annotation
Lukas K [Sun, 3 Apr 2016 13:31:05 +0000 (15:31 +0200)]
Fix gtk_scrollable_get_border annotation

https://bugzilla.gnome.org/show_bug.cgi?id=764540

9 years agoUpdated Bulgarian translation
Zahari Yurukov [Sun, 10 Apr 2016 13:31:35 +0000 (16:31 +0300)]
Updated Bulgarian translation

9 years agoquartz: zoom/rotate change compile/runtime check from 10.7 to 10.8
Friedrich Beckmann [Thu, 7 Apr 2016 07:33:41 +0000 (09:33 +0200)]
quartz: zoom/rotate change compile/runtime check from 10.7 to 10.8

The zoom/rotate change for quartz does not build on 10.7. This change
adds zoom/rotate support in quartz only for 10.8 and following. The
problems is described here:
https://bugzilla.gnome.org/show_bug.cgi?id=760276 and here
https://trac.macports.org/ticket/51052
NSEventPhaseMayBegin was only introduced in 10.8 although documentation
says it is introduced in 10.7. Tests on 10.7 indicate that the phase
property for the Magnify event is not supported at all on 10.7

9 years agoAdd a note about GDK_AXIS_X/Y
Matthias Clasen [Sat, 9 Apr 2016 21:35:58 +0000 (17:35 -0400)]
Add a note about GDK_AXIS_X/Y

These axes mmay or may not be present, best to ignore them.

9 years agowayland: Keyboard don't have x/y
Matthias Clasen [Sat, 9 Apr 2016 21:31:39 +0000 (17:31 -0400)]
wayland: Keyboard don't have x/y

These axes are not very useful in the first place, but on a
keyboard they just don't make any sense at all.

9 years agoMention geometry handling changes in release notes
Matthias Clasen [Sat, 9 Apr 2016 21:04:57 +0000 (17:04 -0400)]
Mention geometry handling changes in release notes

9 years agoinspector: simplify some code
Matthias Clasen [Sat, 9 Apr 2016 19:47:56 +0000 (15:47 -0400)]
inspector: simplify some code

9 years agoMove GdkDeviceTool into its own files
Matthias Clasen [Sat, 9 Apr 2016 19:20:07 +0000 (15:20 -0400)]
Move GdkDeviceTool into its own files

9 years agoapp: fix indentation
Sébastien Wilmet [Sat, 9 Apr 2016 13:21:27 +0000 (15:21 +0200)]
app: fix indentation

And add missing curly braces.

9 years agoinspector: Use GdkAxes instead of GdkAxisUse
Matthias Clasen [Sat, 9 Apr 2016 16:14:33 +0000 (12:14 -0400)]
inspector: Use GdkAxes instead of GdkAxisUse

9 years agoinspector: Add an origin mark to the slowdown scale
Matthias Clasen [Sat, 9 Apr 2016 15:54:07 +0000 (11:54 -0400)]
inspector: Add an origin mark to the slowdown scale

Makes it easier to get back to the original speed.

9 years agoinspector: Give the font scale an entry
Matthias Clasen [Sat, 9 Apr 2016 15:46:12 +0000 (11:46 -0400)]
inspector: Give the font scale an entry

This matches what Matt did for the slowdown.

9 years agodocs: trivial fixes in GtkApplication-related documentation
Sébastien Wilmet [Fri, 8 Apr 2016 18:13:07 +0000 (20:13 +0200)]
docs: trivial fixes in GtkApplication-related documentation

9 years agoanimatedstyle: don't share styleanimations
Matt Watson [Tue, 22 Mar 2016 08:10:21 +0000 (01:10 -0700)]
animatedstyle: don't share styleanimations

Because of our port of css animation and css transition to
progress tracker, we should not think of animated styles as
immutable objects that can map any timestamp to css values.
Rather, timestamps can correspond to different values depending
on the value of GTK_SLOWDOWN over the course of the animation.

To keep animated styles and style animations totally immutable,
we will not share styleanimations between animatedstyles, and
make a new copy of a styleanimation for each timestamp.

9 years agoanimatedstyle: just ref current style if timestamp the same
Matt Watson [Tue, 22 Mar 2016 08:04:38 +0000 (01:04 -0700)]
animatedstyle: just ref current style if timestamp the same

9 years agoanimatedstyle: fail to create new style if timestamp goes backwards
Matt Watson [Tue, 22 Mar 2016 07:54:11 +0000 (00:54 -0700)]
animatedstyle: fail to create new style if timestamp goes backwards

With slowdown factor, we will only we be able to handle timestamps
that monotonically increase.

9 years agocssanimation: port to progress tracker
Matt Watson [Fri, 25 Mar 2016 06:43:15 +0000 (23:43 -0700)]
cssanimation: port to progress tracker

9 years agocsstransition: port to progress tracker
Matt Watson [Mon, 7 Mar 2016 06:45:27 +0000 (22:45 -0800)]
csstransition: port to progress tracker

9 years agoentry: port to progress tracker
Matt Watson [Tue, 5 Apr 2016 06:44:04 +0000 (23:44 -0700)]
entry: port to progress tracker

9 years agoprogressbar: port to progress tracker
Matt Watson [Mon, 28 Mar 2016 08:08:48 +0000 (01:08 -0700)]
progressbar: port to progress tracker

9 years agoscrolledwindow: port indicator fade to progress tracker
Matt Watson [Mon, 28 Mar 2016 21:54:34 +0000 (14:54 -0700)]
scrolledwindow: port indicator fade to progress tracker

9 years agopopover: port to progress tracker
Matt Watson [Mon, 28 Mar 2016 21:45:21 +0000 (14:45 -0700)]
popover: port to progress tracker

9 years agoswitch: port to progress tracker
Matt Watson [Mon, 28 Mar 2016 21:38:22 +0000 (14:38 -0700)]
switch: port to progress tracker

9 years agorevealer: port to progress tracker
Matt Watson [Fri, 25 Mar 2016 09:01:25 +0000 (02:01 -0700)]
revealer: port to progress tracker

9 years agostack: skip first frame for animations
Matt Watson [Wed, 2 Mar 2016 01:19:50 +0000 (17:19 -0800)]
stack: skip first frame for animations

Not the ideal solution for this problem, but in practice leads to
much better performance on lower end hardware.

Stack does a double draw on the first frame of its animation, of
both the old contents (into a cairo surface) and the new contents.
Homogeneous stacks only need to reallocate contents on the first
frame.

On lower powered hardware where our frames will be a good deal
slower than the refresh rate anyway, we can assure a smother
experience by waiting a frame to start tweening where frame duration
will be more consistent.

9 years agostack: port to progress tracker
Matt Watson [Tue, 1 Mar 2016 06:24:39 +0000 (22:24 -0800)]
stack: port to progress tracker

9 years agoinspector: add slider to control slowdown factor
Matt Watson [Mon, 14 Mar 2016 10:38:55 +0000 (03:38 -0700)]
inspector: add slider to control slowdown factor

9 years agoprogresstracker: add GTK_SLOWDOWN environment variable
Matt Watson [Mon, 14 Mar 2016 10:38:23 +0000 (03:38 -0700)]
progresstracker: add GTK_SLOWDOWN environment variable

As we consolidate widgets to use progress tracker, this will allow
us to control the speed of all animations in a centralized place

9 years agoprogresstracker: simple struct to track animation progress
Matt Watson [Tue, 1 Mar 2016 05:39:33 +0000 (21:39 -0800)]
progresstracker: simple struct to track animation progress

10 years agodemos: Show slider/rotation axes in "Event axes" demo
Carlos Garnacho [Fri, 8 Apr 2016 15:25:53 +0000 (17:25 +0200)]
demos: Show slider/rotation axes in "Event axes" demo

10 years agowayland: Propagate slider/rotation axes from tools to devices
Carlos Garnacho [Fri, 8 Apr 2016 15:25:04 +0000 (17:25 +0200)]
wayland: Propagate slider/rotation axes from tools to devices

10 years agotest: do not remove files on distclean
Olivier Fourdan [Wed, 6 Apr 2016 17:44:16 +0000 (19:44 +0200)]
test: do not remove files on distclean

bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=764686

10 years agowayland: do not update shadows for child windows
Olivier Fourdan [Thu, 7 Apr 2016 13:56:46 +0000 (15:56 +0200)]
wayland: do not update shadows for child windows

glade-previewer places a gtkwindow inside another toplevel gtkwindow,
updating the shadow width for the client induces a busy loop where the
parent will grow continuously until it crashes gnome-shell/mutter.

To avoid the loop, do not update the shadow width if not dealing with a
toplevel window.

Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=761651

10 years agogdkevents: Fix GDK_AVAILABLE_IN annotation
Carlos Garnacho [Fri, 8 Apr 2016 13:08:15 +0000 (15:08 +0200)]
gdkevents: Fix GDK_AVAILABLE_IN annotation

These functions have just been added. An oversight prior to merging
wayland tablet.

10 years agowayland: Check the tablet manager before creating a wp_tablet_seat
Carlos Garnacho [Wed, 6 Apr 2016 15:29:11 +0000 (17:29 +0200)]
wayland: Check the tablet manager before creating a wp_tablet_seat

This makes things non-crashy if the compositor doesn't provide wp_tablet_manager

10 years agogtk3-demo: Add tool information to "Event axes" demo
Carlos Garnacho [Tue, 5 Apr 2016 12:33:29 +0000 (14:33 +0200)]
gtk3-demo: Add tool information to "Event axes" demo

Print tool type and serial, if found.

10 years agowayland: Hook tablets to GdkSeat
Carlos Garnacho [Tue, 26 Jan 2016 18:25:19 +0000 (19:25 +0100)]
wayland: Hook tablets to GdkSeat

Those are now also grabbed togetther with other master pointers,
so everything is able to interoperate on eg. popups triggered by
other devices.

10 years agowayland: Translate pen buttons into button events
Carlos Garnacho [Mon, 22 Jun 2015 16:28:46 +0000 (18:28 +0200)]
wayland: Translate pen buttons into button events

up/down already take GDK_BUTTON_PRIMARY, we translate BTN_STYLUS(2)
into GDK_BUTTON_MIDDLE/SECONDARY.

10 years agoWayland: Translate wl_tablet.down/up into button events
Stephen Chandler Paul [Mon, 22 Jun 2015 16:16:27 +0000 (18:16 +0200)]
Wayland: Translate wl_tablet.down/up into button events

These are sent with button=GDK_BUTTON_PRIMARY, axes must be also
included in these events, in addition to motion ones.

10 years agoWayland: Translate tool axes in motion events
Stephen Chandler Paul [Mon, 22 Jun 2015 16:02:50 +0000 (18:02 +0200)]
Wayland: Translate tool axes in motion events

On wayland, such axes are per-tool, we must update device capabilities
on the fly as new tools enter proximity, first the slave device so
it matches the current tool, and then the master device so it looks
the same than the current slave device.

10 years agoWayland: Implement proximity/crossing/motion event emission on tablets
Stephen Chandler Paul [Mon, 22 Jun 2015 15:51:48 +0000 (17:51 +0200)]
Wayland: Implement proximity/crossing/motion event emission on tablets

Each tablet will update its own GdkWaylandPointerData separately. This
commit only adds plain motion event emission so far, no axes are managed
yet.

10 years agoWayland: Add initial support for drawing tablets
Stephen Chandler Paul [Mon, 19 Jan 2015 00:32:24 +0000 (19:32 -0500)]
Wayland: Add initial support for drawing tablets

Only the management of tablets and tools is added so far. No tablet events
are yet interpreted.

As it's been the tradition in GTK+, erasers are split into their own device,
whereas the rest of the tools are meant to be routed through the
GDK_SOURCE_PEN device. Both pen/eraser devices are slaves to a master
pointer device, separate to wl_pointer's. This is so each tablet can
maintain its own cursor/positioning accounting.

Signed-off-by: Stephen Chandler Paul <thatslyude@gmail.com>
10 years agobuild: Bump wayland-protocols dependency to 1.3
Carlos Garnacho [Wed, 6 Apr 2016 13:49:22 +0000 (15:49 +0200)]
build: Bump wayland-protocols dependency to 1.3

Needed for tablet support

10 years agowayland: Refactor master pointer data into a separate struct
Carlos Garnacho [Fri, 19 Jun 2015 15:25:54 +0000 (17:25 +0200)]
wayland: Refactor master pointer data into a separate struct

This will enable multiple "pointers" to have separate data here.
Will come out useful when adding support for tablets, as they
will have a separate cursor for all purposes.

10 years agogdkcursor-wayland.c: Minor indentation fix
Stephen Chandler Paul [Sun, 18 Jan 2015 19:30:58 +0000 (14:30 -0500)]
gdkcursor-wayland.c: Minor indentation fix

Changed the tabs to spaces

Signed-off-by: Stephen Chandler Paul <thatslyude@gmail.com>
10 years agox11: Use XInternAtom directly on poking device hardware IDs
Carlos Garnacho [Tue, 30 Jun 2015 14:28:59 +0000 (16:28 +0200)]
x11: Use XInternAtom directly on poking device hardware IDs

This way we don't cache the property if it wasn't previously there,
added by the driver itself. Bailing out is due there.

10 years agodemos: Enable multidevice behavior on event-axes demo
Carlos Garnacho [Thu, 18 Jun 2015 13:09:46 +0000 (15:09 +0200)]
demos: Enable multidevice behavior on event-axes demo

On wayland we get separate master/slaves for each tablet, we will
need to receive crossing events for each master pointer if there's
more than one around.

10 years agodemos: Set crossing events mask explicitly on event-axes demo.
Carlos Garnacho [Thu, 18 Jun 2015 13:08:39 +0000 (15:08 +0200)]
demos: Set crossing events mask explicitly on event-axes demo.

10 years agogtk3-demo: Show multiple master devices on the "Event axes" demo
Carlos Garnacho [Tue, 10 Feb 2015 14:59:18 +0000 (15:59 +0100)]
gtk3-demo: Show multiple master devices on the "Event axes" demo

10 years agogtk-demo: Add support for distance in event_axes
Stephen Chandler Paul [Tue, 10 Feb 2015 03:02:08 +0000 (22:02 -0500)]
gtk-demo: Add support for distance in event_axes

Signed-off-by: Stephen Chandler Paul <thatslyude@gmail.com>
10 years agogtk-demo: Use GdkAxisUse instead of axis labels
Stephen Chandler Paul [Tue, 10 Feb 2015 00:44:50 +0000 (19:44 -0500)]
gtk-demo: Use GdkAxisUse instead of axis labels

Axis labels are very X specific, and are not really possible to port to other
backends such as Wayland. As such, it makes more sense to use GdkAxisUse and
GdkAxisUseFlag in order to determine the axis capabilities of a device and draw
their axes.

Signed-off-by: Stephen Chandler Paul <thatslyude@gmail.com>
10 years agoGdkDeviceTool: Add GdkAxisFlags info to tablet tools
Stephen Chandler Paul [Mon, 22 Jun 2015 15:19:16 +0000 (17:19 +0200)]
GdkDeviceTool: Add GdkAxisFlags info to tablet tools

Different tools may have different sets of axes, we should store that
info somewhere.

10 years agoGdkDeviceTool: Add GdkDeviceToolType to identify the physical tool type
Stephen Chandler Paul [Tue, 13 Jan 2015 05:03:49 +0000 (00:03 -0500)]
GdkDeviceTool: Add GdkDeviceToolType to identify the physical tool type

Because there are multiple different types of styluses that can be used with
tablets, we have to have some sort of identifier for them attached to the
GdkDeviceTool, especially since knowing the actual tool type for a GdkDeviceTool
is necessary for matching up a GdkDeviceTool with it's appropriate
GdkInputSource in Wayland (eg. matching up a GdkDeviceTool eraser with the
GDK_SOURCE_ERASER GdkInputSource of a wayland tablet).

Signed-off-by: Stephen Chandler Paul <thatslyude@gmail.com>
10 years agox11: Set GdkDeviceTool on motion/button events
Carlos Garnacho [Tue, 6 Jan 2015 13:57:21 +0000 (14:57 +0100)]
x11: Set GdkDeviceTool on motion/button events

The last known tool from the device is used here. If no tool is known,
the event will just have a NULL pointer there.

10 years agox11: Update GdkDevices on "Wacom Serial IDs" property changes
Carlos Garnacho [Tue, 6 Jan 2015 13:56:02 +0000 (14:56 +0100)]
x11: Update GdkDevices on "Wacom Serial IDs" property changes

This takes care of the emission of GdkDevice::tool-changed, plus the
updating of the internal device accounting.

10 years agogdk: Forward tools in client-side windows event translation
Carlos Garnacho [Tue, 5 Apr 2016 12:33:24 +0000 (14:33 +0200)]
gdk: Forward tools in client-side windows event translation

10 years agoevents: Add gdk_event_[gs]et_device_tool()
Carlos Garnacho [Tue, 6 Jan 2015 13:52:42 +0000 (14:52 +0100)]
events: Add gdk_event_[gs]et_device_tool()

This getter/setter will manage the tool pointer in GdkEventPrivate. The
setter should be most notably used by backends.

10 years agoGdkSeatDefault: Add functions to add/remove tools
Carlos Garnacho [Fri, 29 Jan 2016 12:07:13 +0000 (13:07 +0100)]
GdkSeatDefault: Add functions to add/remove tools

This may be used by any backend using GdkSeatDefault as its seat
implementation.

10 years agogdk: Add GdkSeat::tool-added/removed signals
Carlos Garnacho [Fri, 29 Jan 2016 12:06:02 +0000 (13:06 +0100)]
gdk: Add GdkSeat::tool-added/removed signals

And a helper function to lookup a tool from the seat. Those are
tracker per-seat, and may be shared across devices.

10 years agogdkdevice: Add GdkDevice::tool-changed signal
Carlos Garnacho [Tue, 6 Jan 2015 13:44:15 +0000 (14:44 +0100)]
gdkdevice: Add GdkDevice::tool-changed signal

On the devices and backends that support it, this signal will be emitted
on slave/floating devices whenever the tool they are interacting with
changes. These notifications may also work as a sort of proximity events,
as the tool will be unset when the pen moves too far.

For backends, gdk_device_update_tool() has been included, all that should
be done on their side is just calling this whenever any tool might have
changed.

10 years agogdkdevice: Add GdkDeviceTool to identify device tools
Carlos Garnacho [Tue, 6 Jan 2015 13:38:14 +0000 (14:38 +0100)]
gdkdevice: Add GdkDeviceTool to identify device tools

GdkDeviceTool is an opaque object that can be used to identify a given
tool (eg. pens on tablets) during the app/device lifetime. Tools are only
set on non-master devices, and are owned by these.

The accounting functions are made private, the only public call on
GdkDeviceTool so far is gdk_device_tool_get_serial(), useful to identify
the tool across runs.

10 years agodevice: Add gdk_device_get_axes(), and ::axes property
Carlos Garnacho [Tue, 27 Jan 2015 21:35:40 +0000 (21:35 +0000)]
device: Add gdk_device_get_axes(), and ::axes property

This returns a GdkAxisFlags, holding the axes currently available
through this device.

10 years agodevice: Add distance/rotation/slider GdkAxisUse values
Carlos Garnacho [Tue, 27 Jan 2015 21:34:21 +0000 (21:34 +0000)]
device: Add distance/rotation/slider GdkAxisUse values

These are possible to handle in tablets, so add a value for these in the
axis enum.

10 years agoGDK W32: Don't move windows into top-left corner on style change
Руслан Ижбулатов [Wed, 6 Apr 2016 10:22:15 +0000 (10:22 +0000)]
GDK W32: Don't move windows into top-left corner on style change

This fixes a bug that was introduced by db1b24233e758200ab9bc23fdb9b64dba4876a00.
The reason why 0:0 coordinates were passed was that SWP_NOREPOSITION was
misinterpreted as SWP_NOMOVE. That is not the case - SWP_NOREPOSITION
prevents owner Z-order change, not the window position change.

10 years agowayland: Do not resize with the same size
Olivier Fourdan [Mon, 4 Apr 2016 12:55:38 +0000 (14:55 +0200)]
wayland: Do not resize with the same size

gnome-control-center is calling gtk_window_resize() on configure-event
signals which leads to a busy loop.

Avoids such a busy loop by not re-configuring a window with the same
size, unless this is coming from and xdg-shell configure.

bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=764374

10 years agoClarify that one cannot use the same variable
Wouter Verhelst [Thu, 31 Mar 2016 09:09:41 +0000 (11:09 +0200)]
Clarify that one cannot use the same variable

A naive way to perform an action on all parent nodes of a given node
could be to do:

while(gtk_tree_model_iter_parent(model, &iter, &iter)) {
/* perform some action on iter here */
}

However, since gtk_tree_model_iter_parent() will initialize the iterator
pointed to by the second parameter before performing the lookup, this
will not work.

Explicitly document this behaviour.

Signed-off-by: Wouter Verhelst <w@uter.be>
https://bugzilla.gnome.org/show_bug.cgi?id=573380

10 years agocups: Fix "format not a string literal" error
Bastien Nocera [Mon, 4 Apr 2016 14:38:04 +0000 (16:38 +0200)]
cups: Fix "format not a string literal" error

https://bugzilla.gnome.org/show_bug.cgi?id=764585

10 years agorecent-manager: Fix "format not a string literal" error
Bastien Nocera [Mon, 4 Apr 2016 13:03:12 +0000 (15:03 +0200)]
recent-manager: Fix "format not a string literal" error

https://bugzilla.gnome.org/show_bug.cgi?id=764585

10 years agofile-chooser-widget: Fix "format not a string literal" error
Bastien Nocera [Mon, 4 Apr 2016 12:32:56 +0000 (14:32 +0200)]
file-chooser-widget: Fix "format not a string literal" error

https://bugzilla.gnome.org/show_bug.cgi?id=764585

10 years agoabout-dialog: Fix "format not a string literal" errors
Bastien Nocera [Mon, 4 Apr 2016 12:16:17 +0000 (14:16 +0200)]
about-dialog: Fix "format not a string literal" errors

A non-intrusive fix.

https://bugzilla.gnome.org/show_bug.cgi?id=764585

10 years agoui-manager: Fix "format not a string literal" errors
Bastien Nocera [Mon, 4 Apr 2016 12:14:13 +0000 (14:14 +0200)]
ui-manager: Fix "format not a string literal" errors

Quite a bit of code movement, but necessary to build with the
default format errors produced by newer versions of GCC.

https://bugzilla.gnome.org/show_bug.cgi?id=764585

10 years agoAdwaita: transparent textview border border
Lapo Calamandrei [Mon, 4 Apr 2016 10:03:11 +0000 (12:03 +0200)]
Adwaita: transparent textview border border

So it will play nicely with gedit color combinations.
See https://bugzilla.gnome.org/show_bug.cgi?id=764203

10 years agoUpdated Greek translation
Tom Tryfonidis [Mon, 4 Apr 2016 09:28:23 +0000 (09:28 +0000)]
Updated Greek translation
(cherry picked from commit 40afffb9fde9f2fc46d1fafd9dcdca7692e065ef)

10 years agoMove GdkDeviceManager to deprecated section
Matthias Clasen [Mon, 4 Apr 2016 03:39:18 +0000 (23:39 -0400)]
Move GdkDeviceManager to deprecated section

It has been superseded by GdkSeat.

10 years agoAdd an index for 3.22 api additions
Matthias Clasen [Mon, 4 Apr 2016 03:33:57 +0000 (23:33 -0400)]
Add an index for 3.22 api additions

10 years agowayland: Remove an unused vfunc
Matthias Clasen [Sun, 3 Apr 2016 22:17:16 +0000 (18:17 -0400)]
wayland: Remove an unused vfunc

10 years agowayland: Remove unused field
Matthias Clasen [Sat, 2 Apr 2016 18:56:55 +0000 (14:56 -0400)]
wayland: Remove unused field

10 years agoUpdated Esperanto translation
Kristjan SCHMIDT [Sun, 3 Apr 2016 00:20:00 +0000 (02:20 +0200)]
Updated Esperanto translation

10 years agoUpdated Esperanto translation
Kristjan SCHMIDT [Sat, 2 Apr 2016 22:46:18 +0000 (00:46 +0200)]
Updated Esperanto translation

10 years agoheaderbar: Don't underallocate the label box
Timm Bäder [Sat, 2 Apr 2016 14:20:09 +0000 (16:20 +0200)]
headerbar: Don't underallocate the label box

We use a label_sizing_box to make sure the headerbar can always contain
both a title and a subtitle without resizing when showing/hiding either
of them, but we should only do that for the height; the min width of the
label_box can be larger than that of the label_sizing_box.

10 years agoAdwaita: style textview border
Lapo Calamandrei [Sat, 2 Apr 2016 14:24:52 +0000 (16:24 +0200)]
Adwaita: style textview border

see https://bugzilla.gnome.org/show_bug.cgi?id=764203

10 years agoAdwaita: cosmetic fixes
Lapo Calamandrei [Sat, 2 Apr 2016 14:03:02 +0000 (16:03 +0200)]
Adwaita: cosmetic fixes

10 years agowayland: Avoid NULL slave devices in GdkSeat::get_slaves
Carlos Garnacho [Fri, 1 Apr 2016 17:09:03 +0000 (19:09 +0200)]
wayland: Avoid NULL slave devices in GdkSeat::get_slaves

Just because we're asked for a capability, it doesn't mean we have
it.

10 years agoAdwaita: set secondary caret color to selection blue
Lapo Calamandrei [Fri, 1 Apr 2016 14:42:40 +0000 (16:42 +0200)]
Adwaita: set secondary caret color to selection blue

see https://bugzilla.gnome.org/show_bug.cgi?id=764204

10 years agogtkwindow: Don't allow unresizable windows to be smaller than required
Rui Matos [Thu, 31 Mar 2016 18:56:01 +0000 (20:56 +0200)]
gtkwindow: Don't allow unresizable windows to be smaller than required

Commit cdc580463e409a9b7e5f1480afa68d875ff3ff65 made it so that
unresizable windows can't be smaller than a set default size but it
lost the logic to ensure these windows remain at least big enough to
comply with their requisition.

https://bugzilla.gnome.org/show_bug.cgi?id=764174

10 years agowidget: Always warn when underallocating widgets
Timm Bäder [Tue, 23 Feb 2016 09:34:16 +0000 (10:34 +0100)]
widget: Always warn when underallocating widgets

10 years agowayland: Print out more debug info
Matthias Clasen [Fri, 1 Apr 2016 00:31:00 +0000 (20:31 -0400)]
wayland: Print out more debug info

Print out the subpixel layout and frame rates that the compositor
sends us.

10 years agogdkwindow: Remove O(n-children) code in gdk_window_invalidate
Alexander Larsson [Thu, 31 Mar 2016 16:56:18 +0000 (18:56 +0200)]
gdkwindow: Remove O(n-children) code in gdk_window_invalidate

When we invalidate a window we need to also invalidate all child windows
that are native (non-native are automatically invalidated as we track
invalidation once per native window only). This was done in a pretty
inefficient way, recursing over the entire tree.

This makes the invalidation much faster by only looking at the native
children of the native window we're in, filtering out those that
are not a descendant of the client side window we're interested in.
Given that there are very few native subwindows this is much faster.

10 years agoicon theme: Make the builtin hicolor index match reality
Matthias Clasen [Thu, 31 Mar 2016 11:11:24 +0000 (07:11 -0400)]
icon theme: Make the builtin hicolor index match reality

We were missing all of the status directories, and a few sizes.
This was causing us to not find image-missing on systems without
hicolor icon theme (this basically only happens on Windows).

https://bugzilla.gnome.org/show_bug.cgi?id=764378

10 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Thu, 31 Mar 2016 02:12:58 +0000 (09:12 +0700)]
Updated Thai translation.

10 years agoUse AM_DISTCHECK_CONFIGURE_FLAGS
Matthias Clasen [Thu, 31 Mar 2016 01:54:04 +0000 (21:54 -0400)]
Use AM_DISTCHECK_CONFIGURE_FLAGS

This is preferred over DISTCHECK_CONFIGURE_FLAGS in modern automake.